#include "commData.h"

uint8_t u8_sys_status = 0;
uint8_t u8_sys_direction = 0;
uint8_t u8_sys_grap = 0;
uint8_t u8_sys_debug = 0;
uint8_t u8_sportmotor_status = 0;
uint8_t u8_grapmotor_status = 0;
uint8_t u8_upmotor_status = 0;
uint8_t u8_screen_status = 0;
uint8_t u8_camera_status = 0;
uint8_t u8_sys_workstatus = 0;
uint8_t u8_bms_status = 0;
uint16_t u16_sys_speed = 0;
uint32_t u32_gloabl_delay = 0;
int32_t _32global_upmotor_Loopdegree = 0;

uint8_t _delay_ms(void)
{
	if(u32_gloabl_delay>0)u32_gloabl_delay--;
	return 0;
}

uint8_t wait_for_timeout(uint16_t time)
{
	//min time setting
	//time = time/5;
	u32_gloabl_delay = time;
	while(u32_gloabl_delay>0);
	return 0;
}